<template>
  <view class="seckill-view">
    <view class="container">
      <view class="header">
        <view class="left">
          <view class="title">
            {{ title }}
          </view>
          <view class="time">00</view>
          <view class="separator">:</view>
          <view class="time">00</view>
          <view class="separator">:</view>
          <view class="time">00</view>
        </view>
        <view class="right">
          <view>更多</view>
          <i class="el-icon-arrow-right" />
        </view>
      </view>
      <view class="content">
        <img src="../../../static/index/no_homebase.png">
        <view class="text">敬请期待，更多秒杀好货~</view>
      </view>
    </view>
  </view>
</template>

<script>
  export default {
    name: 'Seckill',
    props: ['options'],
    computed: {
      title() {
        return this.options.title
      },
      count() {
        return this.options.count
      }
    }
  }
</script>


<style scoped lang="scss">
  .seckill-view {
    padding: 24rpx
  }

  .container {
    background-color: #fff;
    border-radius: 16rpx;
  }

  .header {
    padding: 32rpx 20rpx 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .title {
    font-size: 36rpx;
    color: #333;
    font-weight: 700;
    margin-right: 20rpx;
    display: inline-block;
  }

  .time {
    width: 36rpx;
    height: 30rpx;
    line-height: 32rpx;
    text-align: center;
    font-size: 24rpx;
    color: #fff;
    background-color: #000;
    border-radius: 4rpx;
    display: inline-block;
  }

  .separator {
    padding: 0 8rpx;
    display: inline-block;
  }

  .right {
    font-size: 26rpx;
    color: #999;
  }

  .content {
    height: 400rpx;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .text {
      margin-top: 32rpx;
      font-size: 28rpx;
      color: #999;
    }
  }

  img {
    width: 240rpx;
    height: 240rpx;
  }
</style>